package demo;

import java.util.Collection;
import java.util.HashMap;

public class Demo02 {
    public static void main(String[] args) {
        HashMap<String, String> map = new HashMap<>();
        map.put("1","路线经");
        map.put("2","鲁大师");

        Collection<String> values = map.values();
        for (String value : values) {
            System.out.println(value);
        }

        map=new HashMap<>();
        Collection<String> values2 = map.values();
        for (String value : values2) {
            System.out.println(value);
        }

    }
}
